package com.fastloan.mgt.daily.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.Date;
import java.util.List;

/**
 * @author yanwe
 *         createTime 2017-09-2017/9/12 17:08
 */
public class WorkContentVo {

    @TreeId
    private Integer workContentId;

    /**
     * 工作内容父ID
     */
    @TreeParentId
    private Integer workContentParentId;

    /**
     * 工作内容
     */
    private String workContent;

    /**
     * 工作子内容
     */
    @TreeChild
    private List<WorkContentVo> workContentChildList;

    @JsonIgnore
    private Date createTime;

    @JsonIgnore
    private Date modifyTime;

    @JsonIgnore
    private String userId;

    private Integer isNeedCustomer;

    public Date getModifyTime() {
        return modifyTime;
    }

    public WorkContentVo setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
        return this;
    }

    public Integer getIsNeedCustomer() {
        return isNeedCustomer;
    }

    public WorkContentVo setIsNeedCustomer(Integer isNeedCustomer) {
        this.isNeedCustomer = isNeedCustomer;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public WorkContentVo setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public WorkContentVo setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public Integer getWorkContentId() {
        return workContentId;
    }

    public WorkContentVo setWorkContentId(Integer workContentId) {
        this.workContentId = workContentId;
        return this;
    }

    public Integer getWorkContentParentId() {
        return workContentParentId;
    }

    public WorkContentVo setWorkContentParentId(Integer workContentParentId) {
        this.workContentParentId = workContentParentId;
        return this;
    }

    public String getWorkContent() {
        return workContent;
    }

    public WorkContentVo setWorkContent(String workContent) {
        this.workContent = workContent;
        return this;
    }

    public List<WorkContentVo> getWorkContentChildList() {
        return workContentChildList;
    }

    public void setWorkContentChildList(List<WorkContentVo> workContentChildList) {
        this.workContentChildList = workContentChildList;
    }
}
